//映入需要用的action常量名称 解构赋值
import { CHANGE_INPUT_VALUE, ADD_ITEM, DEL_ITEM} from "./actionTypes";

export const getInputChangeAction = (value) => ({
	type:CHANGE_INPUT_VALUE,
	value
})

export const getAddItmeAction = () => ({
	type:ADD_ITEM
})

export const getDelItemAction = (index) => ({
	type:DEL_ITEM,
	index
})
